package com.nineclock.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.pojo.SysCompany;
import com.nineclock.system.pojo.SysCompanyUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysCompanyMapper extends BaseMapper<SysCompany> {

    /**
     * 获取企业当前主管理员
     *
     * @return
     */
    SysCompanyUser getCurrentAdmin(@Param("companyId") Long companyId);

}
